package nc.itf.test.manager;


import nc.bs.framework.server._ServerForEJBNCLocator;
import nc.bs.pub.BusinessObject;

/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class  IManagerEjbBean extends BusinessObject{
	private Object thisService;
	
	public void ejbActivate(){}
	public void ejbPassivate(){}
	public void ejbRemove(){}
	
	public IManagerEjbBean() {
		thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.test.manager.IManager");
	}
	public void ejbCreate(){
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.test.manager.IManager");
	}
	
	public  Object getService() {
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.test.manager.IManager");			
		return thisService;
	}
	public java.lang.Object getObjById(int  arg0 ,java.lang.Object  arg1 ) throws Exception{
		
		return ((nc.itf.test.imanager.IManager )getService()).getObjById(arg0 ,arg1 );		
	}
}
	